package cn.tedu.passort.dao.persist.mapper;


import cn.tedu.passort.pojo.entity.User;
import cn.tedu.passort.pojo.vo.UserLoginInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {
    UserLoginInfoVO getUser(String phone);
    int updateLoginNum(String phone,Integer loginNum);
    Long getIdByPhone(String phone);
    List<String> getPermission(String phone);
}
